/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.customer.facade.info.account;

import info.peigen.hotpot.business.account.facade.enums.AccountStatus;
import info.peigen.hotpot.common.core.lang.money.Money;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(CustomerQueryAccountInfo)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/5/26
 */
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class CustomerQueryAccountInfo {
    /** 账户状态 */
    AccountStatus status;
    /** 余额 */
    @Builder.Default
    Money balance             = Money.zero();
    /** 冻结资金 */
    @Builder.Default
    Money freezeAmount        = Money.zero();
    /** 信用额度 */
    @Builder.Default
    Money creditQuotaAmount   = Money.zero();
    /** 历史收入总金额 */
    @Builder.Default
    Money historyIncomeAmount = Money.zero();
    /** 历史支出总金额 */
    @Builder.Default
    Money historyPaidAmount   = Money.zero();
}
